package com.cdtye.shuoh.domain.Frame;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 气象数据包
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AtmosphereFrame extends BaseFrame {
    private String componentId;

    private String timeStamp;

    private String averageWindSpeed10min;

    private String averageWindDirection10min;

    private String maxWindSpeed;

    private String extremeWindSpeed;

    private String standardWindSpeed;

    private String airTemperature;

    private String humidity;

    private String airPressure;

    private String precipitation;

    private String precipitationIntensity;

    private String radiationIntensity;

    public AtmosphereFrame(String componentId,String timeStamp,String averageWindSpeed10min,String averageWindDirection10min,String maxWindSpeed,String extremeWindSpeed,
                           String standardWindSpeed,String airTemperature,String humidity,String airPressure,String precipitation,String precipitationIntensity,String radiationIntensity,String sync,String packetLength,String cmdId,String frameType,String packetType,String frameNo,String crc16,String end,String deviceIdentiification){
        super(sync, packetLength,cmdId,frameType,packetType,frameNo,crc16,end,deviceIdentiification);
        this.componentId = componentId;
        this.timeStamp = timeStamp;
        this.averageWindSpeed10min = averageWindSpeed10min;
        this.averageWindDirection10min = averageWindDirection10min;
        this.maxWindSpeed = maxWindSpeed;
        this.extremeWindSpeed = extremeWindSpeed;
        this.standardWindSpeed = standardWindSpeed;
        this.airTemperature = airTemperature;
        this.humidity = humidity;
        this.airPressure = airPressure;
        this.precipitation = precipitation;
        this.precipitationIntensity = precipitationIntensity;
        this.radiationIntensity = radiationIntensity;
    }
}
